<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{sc:$Html.GuestBook#} - {sc:$Web.WebTitle#}</title>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="keywords" content="{sc:$Web.Webkeyword#}"> 
<meta name="description" content="{sc:$Web.WebDescription#}">
<base href="{sc:$Sys.WebHost#}">
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link href="{sc:$Sys.TemDir#}global.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="./js/jquery.js"></script>
<script type="text/javascript" src="./js/global.js?{sc:$Sys.Lang#}"></script>
<script type="text/javascript" src="./js/swfobject.js"></script>
<style type="text/css">
.Framework{margin:auto; background:#FFF;}
.Framework .Left{vertical-align:top; background:url(./images/1010.gif) right repeat-y;}
.Content{margin:auto;}
.Framework .Right{}
.Content form td{height:35px; background:url(./images/0101.gif) bottom repeat-x;}
.Content form .notbg td{background:none;}
.Framework{padding:10px 0 0 0;}
.Framework .ntitle{font-family:"微软雅黑", "宋体", "新宋体"; font-weight:bold;}
.gbook{margin:auto; line-height:30px;}
.gbook td{height:35px; text-align:left;}
.gbook .nDx{border-bottom:3px #000 solid;}
</style>
<script type="text/JavaScript">
function FormCheck(){
	if(document.guesbook.GuestBookTitle.value.length < 3){ 
		alert("{sc:$Html['Message'][0]#}"); 
		document.guesbook.GuestBookTitle.focus(); 
		return false; 
	}
	if(document.guesbook.GuestBookContent.value.length < 10){ 
		alert("{sc:$Html['Message'][1]#}"); 
		document.guesbook.GuestBookContent.focus(); 
		return false; 
	}
	if (document.guesbook.GetCode.value.length < 4){
		alert("{sc:$Html['Message'][2]#}");
		document.guesbook.GetCode.focus();
		return false;
	}	
}
</script>
</head>
<body>
{sc:include file='top.html'#}
<table width="950" border="0" cellpadding="0" cellspacing="0" class="ad" align="center">
	<tr>
		<td><img src="{sc:$Sys.TemDir#}images/ad_950_220_b.jpg" width="950" height="220" border="0" /></td>
	</tr>
</table>
<div class="clear"></div>
{sc:dynamic#}
<table width="950" border="0" cellspacing="0" cellpadding="0" class="Framework">
	<tr>
		<td width="300" class="Left" valign="top">
			<table border="0" cellspacing="0" cellpadding="0" class="Content" width="90%">
				<form action="{sc:$Sys.URL.GuestbookSub#}" name="guesbook" id="guesbook" method="post" onSubmit="return FormCheck()">
					<tr>
						<td colspan="2" class="ntitle">{sc:$Html['Message'][3]#}：</td>
					</tr>
					<tr>
						<td>{sc:$Html['Message'][4]#}：</td>
						<td><input name="GuestBookTitle" type="text" class="inputx" id="GuestBookTitle" maxlength="50" /> <span class="red">*</span></td>
					</tr>
					<tr>
						<td>{sc:$Html['Message'][5]#}：</td>
						<td><br /><textarea name="GuestBookContent" cols="20" rows="5" class="inputn" id="GuestBookContent"></textarea> <span class="red">*</span><br /><br /></td>
					</tr>
					<tr>
						<td colspan="2" class="ntitle">{sc:$Html['Message'][6]#}：</td>
					</tr>
					<tr>
						<td>{sc:$Html['Message'][7]#}：</td>
						<td><input name="GuestBookName" type="text" class="inputx" id="GuestBookName" maxlength="16" /></td>
					</tr>
					<tr>
						<td>{sc:$Html['Message'][8]#}：</td>
						<td><input name="GuestBookMail" type="text" class="inputx" id="GuestBookMail" maxlength="30" /></td>
					</tr>
					<tr>
						<td>{sc:$Html['Message'][9]#}：</td>
						<td><input name="GuestBookQQ" type="text" class="inputx" id="GuestBookQQ" maxlength="12" /></td>
					</tr>
					<tr>
						<td>{sc:$Html['Message'][10]#}：</td>
						<td>
							<input type="text" name="GuestBookCompany" id="GuestBookCompany">
						</td>
					</tr>
					<tr>
						<td>{sc:$Html['Message'][11]#}：</td>
						<td>
							<table cellpadding="0" cellspacing="0" class="notbg">
								<tr>
									<td><input name="GetCode" type="text" class="Code" id="GetCode" size="5" maxlength="4" /></td>
									<td width="60" align="center"><img src="./inc/getcode.php" border="0" onclick="this.src+='?' + Math.random();" onmouseover="0" style="cursor:pointer;" /></td>
									<td> <span class="red">*</span></td>
								</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<input name="Action" type="hidden" id="Action" value="ok" />
							<input type="submit" value="{sc:$Html.Submit#}" />
						</td>
					</tr>
					{sc:*tr>
						<td colspan="2">
							　　为了能够及时解决您的疑问或者问题，请留下您准确的联系方式，以便我们能够快捷、准确地联系到您。<br />
						</td>			
					</tr*#}
				</form>
			</table>		
		</td>
		<td width="650" class="Right" valign="top">
{sc:guestbook->sList Total="3" isPage="1"#}
{sc:foreach from=$guestbook item=gb key=i name=x#}
			<table width="600" border="0" cellspacing="0" cellpadding="0" class="gbook">
				<tr>
					<td colspan="2">&nbsp;</td>
				</tr>
				<tr>
					<td width="50%" class="Dx"><img src="images/bname.gif" width="10" height="17" border="0" /> {sc:$gb.GuestBookName#}</td>
					<td width="50%" class="Dx"><img src="images/time.gif" width="12" height="13" border="0" /> {sc:$gb.GuestBookTime#}</td>
				</tr>
				<tr>
					<td colspan="2" class="Dx"><img src="images/title.gif" width="14" height="15" border="0" /> {sc:$gb.GuestBookTitle#}</td>
				</tr>
				<tr>
					<td colspan="2" class="Dx"><font color="#330099">{sc:$gb.GuestBookContent|nl2br#}</font></td>
				</tr>
				<tr>
					<td colspan="2" class="Dx">
						<font color="#006600">
						{sc:if $gb.GuestBookResumes != ""#}{sc:$Html['Message'][12]#}：{sc:$gb.GuestBookResumes|nl2br#}{sc:else#}{sc:$Html['Message'][13]#}{sc:/if#}
						</font>
					</td>
				</tr>
				<tr>
					<td colspan="2" class="nDx">&nbsp;</td>
				</tr>
			</table>
{sc:foreachelse#}
		<table class="Content"><tr><td height="200">{sc:$Html.NotProduct#}</td></tr></table>{sc:* 没有数据时显示 *#}
{sc:/foreach#}
			<table class="Content"><tr><td height="50">{sc:$page[0]#}</td></tr></table>
		</td>
	</tr>
	<tr>
		<td>&nbsp;</td>
		<td>&nbsp;</td>
	</tr>
</table>
{sc:/dynamic#}
{sc:include file='bottom.html'#}
</body>
</html>